package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
@AllArgsConstructor
@TableName("login")
public class LoginDO {
    @TableId
    private String id;
    private String password;
    private String rolename;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRolename() {
        return rolename;
    }

    @Override
    public String toString() {
        return "LoginDO{" +
                "id=" + id +
                ", password='" + password + '\'' +
                ", rolename='" + rolename + '\'' +
                '}';
    }

    public void setRolename(String rolename) {
        this.rolename = rolename;
    }
}
